POV-Ray : Newsgroups : povray.binaries.images : Some fun with media / Help with photons : Re: Some fun with media / Help with photons Server Time
4 Oct 2024 05:20:43 EDT (-0400)
  Re: Some fun with media / Help with photons  
From: portelli
Date: 17 Apr 1999 01:14:06
Message: <37180A8B.CDAE4D42@pilot.msu.edu>
I know what you are taling about.  It has the surface area of a footbal
field but fits in your hand.

Bob Hughes wrote:
> 
> Have you seen that new space age material (I know no name)? This image
> reminded me of it. The stuff is almost as light as air (no quotes) and
> has a smokey appearance. What I saw of it was in cubes like the media
> boxes here.
> Nifty image by itself, btw.
> 
> Peter Popov wrote:
> >
> > (Sorry I had accidentally posted this in p.b.utilities... canceled it)
> >
> > This is what a voxel would look like on a 3D Hi-Black Trinitron :)
> >
> > Source is attached, media02.pov. Also attached is a tweaked version of
> > it (media_photons.pov) designed to make use of photon mapping... but
> > it doesn't. Can anybody help me? As the light sources are quite
> > distant their rays are practically parallel, so I am expecting this
> > normal pattern to produce some focused caustics in the scattering
> > media... but it doesn't. Why?
> >
> > Any help appreciated.
> >
> > ---------
> > Peter Popov
> > ICQ: 15002700
> >
> >  [Image]
> >
> > #include "colors.inc"
> >
> > global_settings
> > {
> >   photons
> >   {
> >     gather 20, 100
> >     radius 0.5, 3, 0.5
> >   }
> >
> >   max_trace_level 25
> > }
> >
> > sphere
> > {
> >   0, 0.75
> >   texture
> >   {
> >     pigment { Gray90 }
> >     finish { ambient 0.1 diffuse 0.9 brilliance 1.5 reflection 0.5 specular 0.5
roughness 0.005 phong 0.25 phong_size 8 }
> >     normal { leopard sine_wave frequency 0.25 phase 0.5 scale 0.05 }
> >   }
> >   no_shadow
> >   photons
> >   {
> >     reflection on
> >     density 0.02
> >   }
> > }
> >
> > union
> > {
> >   box { 0, .99 }
> >   box { <-0.99,0,-0.99>, <0,0.99,0> }
> >   box { <0,-0.99,-.99>, <0.99,0,0> }
> >   interior
> >   {
> >     media
> >     {
> >       absorption 1
> >       intervals 10
> >       samples 1, 10
> >       variance 1/255
> >       confidence 0.999
> >       scattering { 1, 2 extinction 0}
> >     }
> >   }
> >   hollow
> >   pigment { Clear }
> >   photons { photons_pass_through }
> > }
> >
> > camera
> > {
> >   location  <1.0 , 2.0 ,-3.0>*.85
> >   right x
> >   look_at   <-.15 , -.3 , 0.0>
> > }
> >
> > light_source
> > {
> >   <10,10,10> color Red
> >   spotlight
> >   point_at 0
> >   radius 2
> >   falloff 5
> >   photons { reflection on }
> > }
> >
> > light_source
> > {
> >   <-10,10,-10> color Blue
> >   spotlight
> >   point_at 0
> >   radius 2
> >   falloff 5
> >   photons { reflection on }
> > }
> >
> > light_source
> > {
> >   <10,-10,-10> color Green
> >   spotlight
> >   point_at 0
> >   radius 2
> >   falloff 5
> >   photons { reflection on }
> > }
> >
> > #include "colors.inc"
> >
> > sphere
> > {
> >   0, 0.75
> >   texture
> >   {
> >     pigment { Gray90 }
> >     finish { ambient 0.1 diffuse 0.9 brilliance 1.5 reflection 0.5 specular 0.5
roughness 0.005 phong 0.25 phong_size 8 }
> >     normal { quilted 0.3 scale 0.2 }
> >   }
> >   no_shadow
> > }
> >
> > union
> > {
> >   box { 0, .99 }
> >   box { <-0.99,0,-0.99>, <0,0.99,0> }
> >   box { <0,-0.99,-.99>, <0.99,0,0> }
> >   interior
> >   {
> >     media
> >     {
> >       emission 1
> >       absorption 1
> >       intervals 30
> >       samples 1, 10
> >       variance 1/255
> >       confidence 0.999
> >       scattering { 1, 2 extinction 1}
> >     }
> >   }
> >
> >   hollow
> >   pigment { Clear }
> > }
> >
> > camera
> > {
> >   location  <1.0 , 2.0 ,-3.0>*.85
> >   right x
> >   look_at   <-.15 , -.3 , 0.0>
> > }
> >
> > light_source
> > {
> >   <10,10,10> color Red
> >   spotlight
> >   point_at 0
> >   radius 2
> >   falloff 5
> >   photons { reflection on }
> > }
> >
> > light_source
> > {
> >   <-10,10,-10> color Blue
> >   spotlight
> >   point_at 0
> >   radius 2
> >   falloff 5
> >   photons { reflection on }
> > }
> >
> > light_source
> > {
> >   <10,-10,-10> color Green
> >   spotlight
> >   point_at 0
> >   radius 2
> >   falloff 5
> >   photons { reflection on }
> > }
> 
> --
>  omniVERSE: beyond the universe
>   http://members.aol.com/inversez/homepage.htm
>  mailto:inv### [at] aolcom?Subject=PoV-News


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.